package cn.cdqf.coupon.entity.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel("接收优惠券模板参数")
public class CouponTemplateParam implements Serializable {
    //分类
    @ApiModelProperty(name="cCategory",dataType = "string",required = true,value = "优惠券类型：立减")
   @NotBlank(message = "分类不能为null")//参数校验
    private String cCategory;
    //过期分类
    private String cExpireType;
    //过期时间
    private Integer cExpireDay;

    private String cMerchantId;
 @ApiModelProperty(name="cMerchantName",dataType = "string",required = true,value = "商户名称")
    private String cMerchantName;


    private String cDesc;

    private String cProductLine;

    private Integer cLimiter;

    private Integer cCount;

    private double cAmount;

    private double cAmountLimit;

    private String cConsumeStatus;

 public String getcCategory() {
  return cCategory;
 }

 public void setcCategory(String cCategory) {
  this.cCategory = cCategory;
 }

 public String getcExpireType() {
  return cExpireType;
 }

 public void setcExpireType(String cExpireType) {
  this.cExpireType = cExpireType;
 }

 public Integer getcExpireDay() {
  return cExpireDay;
 }

 public void setcExpireDay(Integer cExpireDay) {
  this.cExpireDay = cExpireDay;
 }

 public String getcMerchantId() {
  return cMerchantId;
 }

 public void setcMerchantId(String cMerchantId) {
  this.cMerchantId = cMerchantId;
 }

 public String getcMerchantName() {
  return cMerchantName;
 }

 public void setcMerchantName(String cMerchantName) {
  this.cMerchantName = cMerchantName;
 }


 public String getcDesc() {
  return cDesc;
 }

 public void setcDesc(String cDesc) {
  this.cDesc = cDesc;
 }

 public String getcProductLine() {
  return cProductLine;
 }

 public void setcProductLine(String cProductLine) {
  this.cProductLine = cProductLine;
 }

 public Integer getcLimiter() {
  return cLimiter;
 }

 public void setcLimiter(Integer cLimiter) {
  this.cLimiter = cLimiter;
 }

 public Integer getcCount() {
  return cCount;
 }

 public void setcCount(Integer cCount) {
  this.cCount = cCount;
 }

 public double getcAmount() {
  return cAmount;
 }

 public void setcAmount(double cAmount) {
  this.cAmount = cAmount;
 }

 public double getcAmountLimit() {
  return cAmountLimit;
 }

 public void setcAmountLimit(double cAmountLimit) {
  this.cAmountLimit = cAmountLimit;
 }

 public String getcConsumeStatus() {
  return cConsumeStatus;
 }

 public void setcConsumeStatus(String cConsumeStatus) {
  this.cConsumeStatus = cConsumeStatus;
 }
}
